import { createApp } from 'vue'
// 重置浏览器样式
import'normalize.css/normalize.css'
import '@/assets/css/reset.css'
// import './style.css'
// 导入路由
import router from './router'
// 导入element-plus
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'element-plus/dist/index.css'

// 引入echarts
import Echarts from 'vue-echarts'
import * as echarts from 'echarts'

// 导入全局组件
import App from './App.vue'

const app = createApp(App)
app.component('e-charts',Echarts)
app.config.globalProperties.$echarts = echarts
app.use(router)
app.use(ElementPlus,{
    locale: zhCn,
})
app.mount('#app')




